package entity

import "time"

//stock信息结构
type Service struct {
	ServiceSymbol string    `gorm:"column:service_symbol;NOT NULL;primary_key" json:"serviceSymbol"` //编号
	ReadPrice     float64   `gorm:"column:read_price" json:"readPrice"`                              //关注价格
	ReadStatus    string    `gorm:"column:read_status" json:"readStatus"`                            //阅读状态 1.重点关注；2.稍微关注；0.已阅不关注
	ReadTime      time.Time `gorm:"column:read_time" json:"readTime"`                                //关注时间
	Comment       string    `gorm:"column:comment" json:"comment"`                                   //评论信息
}

func (Service) TableName() string {
	return "service"
}

var TableService = "service"
